package com.yzh.design.demo.impl;

import com.yzh.design.demo.ICouponDiscount;

import java.math.BigDecimal;

/**
 * N元购
 */
public class NYGCouponDiscount implements ICouponDiscount<String> {
    @Override
    public BigDecimal discountAmount(String couponInfo, BigDecimal skuPrice) {
        return new BigDecimal(couponInfo);
    }
}
